<a href="" ng-if="!isLeaf(item)" ng-click="itemExpanded(item, $event)">
    <i class="{{getItemIcon(item)}}"></i>
    {{getItemText(item)}}
    <i class="pull-right fas fa-caret-right" style="margin-top: 3px" ng-class="{'fa-rotate-90':item.$$isExpand}"></i>
</a>
<a href="" ng-if="isLeaf(item)" ng-click="warpCallback('itemClicked', item, $event)">
    <i class="{{getItemIcon(item)}}"></i>
    {{getItemText(item)}}
</a>
<ul class="nav" ng-if="!isLeaf(item)" ng-show="item.$$isExpand">
    <li ng-repeat="item in item[childrenField ? childrenField : 'children']" ng-include="itemTemplateUrl || '/SeedModules.AngularUI/modules/views/treeItem.html'"></li>
</ul>